package com.crm.system.service.opportunityManager;

import com.crm.common.model.DhPageInfo;
import com.crm.model.entity.opportunityManager.OpportunityDynamic;
import com.crm.model.qo.cluePoolManager.ClueFollowQO;
import com.crm.model.qo.opportunityManager.OpportunityQO;
import com.crm.model.vo.opportunityManager.OpportunityDynamicVO;

import java.util.List;

/**
 * 商机动态
 */
public interface OpportunityDynamicService {

    /**
     * 商机管理-新增商机动态
     * @param clueFollowQO 商机动态和跟进记录信息
     * @return
     */
    List<OpportunityDynamicVO> addOpportunityDynamic(ClueFollowQO clueFollowQO);

    /**
     * 商机-商机详情-查询当前商机动态
     * @param opportunityId 商机id
     * @return
     */
    DhPageInfo<OpportunityDynamicVO> opportunityDynamicList(Integer pageIndex, Integer pageSize, String sortName, String sortOrderString , String opportunityId);
}
